import axios from 'axios'
import api from "./server-api";

var _url = api.ip
// var _url = 'http://47.107.159.133:80'


const addressList = (callback) => {
  const url = _url + '/category/list'
  axios.get(url).then(num => {
    callback && callback(num.data)
  })
}


export {
  addressList, // 自动刷新
}
